package com.heima.apis.admin;

import com.heima.model.admin.dtos.AdSensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveControllerApi {


    //查询敏感词列表带分页
    //查询条件

    public ResponseResult findByNameAndPage(AdSensitiveDto dto);

    //新增敏感词

    public ResponseResult insert(AdSensitive adSensitive);


    //修改敏感词

    public ResponseResult update(AdSensitive adSensitive);


    //根据id删除敏感词

    public ResponseResult deleteById(Integer id);

}
